#include <vector>
#include <iostream>
#include <algorithm>

using namespace std;

template <typename Key, typename Value>
class Record{
public:
    Key key;
    Value value;

    Record(Key k, Value v) : key{k}, value{v} {
        cout<<"Record 創建了"<<endl;
    }
};

int main(int argc, char const *argv[])
{
    Record<string, double> rec {"pi", 3.14};
    cout<<rec.key<<endl;       
    cout<<rec.value<<endl;
    return 0;
}
